//
//  WordStateTestUpdateManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/3.
//

#import "WordStateTestUpdateManager.h"

@implementation WordStateTestUpdateManager

- (NSString *)methodName{
    return @"/system/user/test/app/update";
}

- (JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypeGET;
}

- (NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"testId"] = self.testId;
    dict[@"correct"] = self.correct;
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
    dict[@"userId"] = userId;
    dict[@"wordIds"] = self.wordIds;
    return dict;
}


@end
